package com.ocom.common.vo.recode;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class AttendanceRecordVo implements Serializable {

    private static final long serialVersionUID = -7004224380603812540L;

    @JsonProperty(value = "comId")
    private Long comId;

    @JsonProperty(value = "id")
    private Long id;

    @JsonProperty(value = "deviceVerType")
    private Integer deviceVerType;

    @JsonProperty(value = "beginTime")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String beginTime;

    //页码
    private int page = 0;
    //行数
    private int size = 1000;

    @Override
    public String toString() {
        return "AttendanceRecordVo{" +
                "comId=" + comId +
                ", id=" + id +
                ", deviceVerType=" + deviceVerType +
                ", beginTime='" + beginTime + '\'' +
                ", page=" + page +
                ", size=" + size +
                '}';
    }
}
